class Unit < ApplicationRecord
  has_many :person
  has_many :sub_unit,class_name:"Unit",foreign_key:"baba_unit_id"
  belongs_to :baba_unit,class_name:"Unit"
end
